#!/bin/csh
#
#-----------------------------
# OSS Environment Setup.
#-----------------------------
#

# OSS Common environment.
setenv OSS_HOME   ${DEPLOY_HOME}/oss

# Subdirectories.
setenv OSS_CONFIG ${OSS_HOME}/config
setenv OSS_SCRIPT ${OSS_HOME}/scripts
setenv OSS_ADMIN  ${OSS_SCRIPT}/admin
setenv OSS_DOCS   ${OSS_HOME}/docs

# Setup any extra PATH here.
setenv PATH ${PATH}:${OSS_HOME}
setenv PATH ${PATH}:${OSS_SCRIPT}
setenv PATH ${PATH}:${OSS_ADMIN}

setenv OSS_JAR ${OSS_HOME}/oss_class.jar

# Setup any extra CLASSPATH here.
echo $CLASSPATH | grep ${OSS_JAR} > /dev/null
if ( $status != 0 ) then
    setenv CLASSPATH ${CLASSPATH}:${OSS_JAR}
endif



# Setup any extra CLASSPATH here.
#echo $CLASSPATH | grep ${OSS_HOME}  > /dev/null
#if ( $status != 0 ) then
 #   setenv CLASSPATH ${CLASSPATH}:${OSS_HOME}
#endif
 
